//
//  DataTool.h
//  get30Before
//
//  Created by liuzhishan on 15/12/16.
//  Copyright © 2015年 shanshan. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DataTool : NSObject

+(NSDate *)getDate:(NSDate*)date Before:(NSInteger)beforeCount;

+(NSDate *)getDateBefore:(NSInteger)beforeCount;
+(NSString*)getStrWithDate:(NSDate *)date;
+(NSString *)removeDateYear:(NSString *)date;

+(BOOL)firstDate:(NSDate *)firstDate andSecondDate:(NSDate *)lastDate andCompareInterval:(NSInteger)intervalNub;

@end
